#include "BlazePluginTTNetworkSystem.h"

BeTTNetworkSystem::BeTTNetworkSystem() : 
	BeNetworkSystem()
{

}

BeTTNetworkSystem::~BeTTNetworkSystem()
{

}

bool BeTTNetworkSystem::Install()
{
	return true;
}

void BeTTNetworkSystem::Uninstall()
{

}

static BeTTNetworkSystem* g_pWinNetworkSystem = NULL;

extern "C" unsigned long _BlazeDllExports InstallPlugin()
{
	if (g_pWinNetworkSystem == NULL)
	{
		g_pWinNetworkSystem = new BeTTNetworkSystem;

		if (g_pWinNetworkSystem != NULL && g_pWinNetworkSystem->Install())
			return (unsigned long)g_pWinNetworkSystem;
	}

	return 0;
}

extern "C" void _BlazeDllExports UninstallPlugin()
{
	if (g_pWinNetworkSystem != NULL)
	{
		g_pWinNetworkSystem->Uninstall();

		delete g_pWinNetworkSystem;
		g_pWinNetworkSystem = NULL;
	}
}
